@import "@/styles/__index.less";

.dialog-mask {
  position: absolute;
  top: 0px;
  left: 0px;
  z-index: 10;
  width: 100%;
  height: 100%;
  background-color: #000000AA;
  display: flex;
  justify-content: center;
  align-items: center;

  .dialog-box {
    height: 500px;
    width: 600px;
    padding: 15px 35px;
    padding-bottom: 25px;
    background-color: #184466CC;
    border-radius: 10px;
    display: flex;
    flex-direction: column;

    .title-box {
      height: 45px;
      display: flex;
      align-items: flex-end;

      .title {
        flex: 1;
      }

      .close-icon {
        width: 32px;
        height: 32px;
        background-color: #5A99D5;
        border-radius: 999px;
        display: flex;
        justify-content: center;
        align-items: center;
      }

      .search-box {
        width: 200px;
        height: 30px;
        margin-left: 50px;
        border-bottom: 1px solid white;
        display: flex;
        align-items: center;

        .icon {
          flex: 0 0 20px;
          width: 20px;
          height: 20px;
          background-size: contain;
          background-position: center center;
          background-repeat: no-repeat;
        }

        .input {
          flex: 1;
          width: 0px;
          margin: 0px 6px;
          background-color: transparent;
          border: none;
          outline: none;
        }

        .btn {
          flex: 0 0 40px;
          display: flex;
          justify-content: center;
          align-items: center;
          color: white;
        }
      }
    }

    .log-infos {
      flex: 1;
      margin-bottom: 20px;
      overflow-y: auto;

      .log-item-box {
        display: flex;

        .timeline {
          width: 0px;
          margin: 0px 16px;
          border-left: 2px dashed white;
          position: relative;

          .circle {
            position: absolute;
            width: 15px;
            height: 15px;
            background-color: #6AB3F8;
            border-radius: 14px;
            top: 5px;
            left: -8px;
          }
        }

        .log-item {
          flex: 1;
          margin-bottom: 16px;

          .wrap-0 {
            width: 100%;
            height: 20px;
            color: #6AB3F8;
            font-weight: bold;
            font-size: 16px;
          }

          .wrap-1 {
            width: 100%;
            height: 20px;
            margin-top: 6px;
          }

          .wrap-2 {
            width: 100%;
            height: 20px;
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-top: 6px;
          }
        }
      }
    }

    .btn-group {
      display: flex;

      .btn-cancel {
        flex: 1;
        display: flex;
        justify-content: center;
        align-items: center;
        color: #EAAC5E;
        border: 1px solid #EAAC5E;
        margin-right: 20px;
        border-radius: 4px;
        white-space: pre-wrap;
        cursor: pointer;
      }

      .btn-confirm {
        background-color: #EAAC5E;
        flex: 1;
        display: flex;
        justify-content: center;
        align-items: center;
        border-radius: 4px;
        white-space: pre-wrap;
        cursor: pointer;
      }
    }
  }
}